working with motor transformation
first working version