consider optional speed/accel arguments