changed to drive state, updated motor functions