layerPhase working, need to work out orientation problem