rough search implimentation