change speed delay to constant