motor lib finished