changes on singlemotoroperation.js