changes to motor library

Fork of motor by GDP 4

no such method: tip