added rotation of array