Some crappy code of Categories