updated header functions