motor in and out commands