categories functionality is now working.