Implemented query string search