added offset for joints