added wild cards to like query to function as search