add categories. worked more on filtering