adding kinematic code v0.1