food class search by type func added