changed categories to be a real object