[#14] initial take on the search first attempt at the query function