adds categories to models