show categories functionality added