Formatting categories properly