add motion command