added categories and fixed ticks