Changed category_list template and profiling the code