smooth control: move() function takes parameters of type double