total work with categories