timer set to 20 ms for moving process