added stop and go functions for motors