use the speed value also for retreating