added rotation to example