added rotation to object attributes