make speed volatile so acceleration tick can see it