Added the apply transformation