added rotation to object