Changed categories into enum