Added rotation layer