implemented basic functions for all categories