notectrl code refactoring: categories methods