full functionality for category