wrote first attempt at search method