added rotation to objects