added searchItem method