added method to search in titles