Added rotation to cubes