Added rotation and texturing