Implement rotation of joints