added a first pass at deformation