vital functions