working categories as subdirs