taxonomy functions to separate file