changed preempt to use current pos as goal