added -L, for listing all categories