adjusting joint speed