Added rotating the object