changed turnto ckeck to stop when within plus or minus of the delta