added searchByTag & searchByCategory