adds category to datamapper