added rotation features