add equal and hashcode in Transformation