added method to search sprite