added support for reverting motor;
#23