added rotation to eagle