Transformation of layer capability introduced but has some bugs