split custom taxonomies into two functions