Initial attempt to abstract search strategy