added ability to change and display categories