First implementation of recursive category modification