A treatise on metamorphism