added flatTrans to Transformation