Iterative find value

it now pretty much works...