[#14] working on search function before final function