Added rotating to objects