added some graphs and ability to apply limits for categories