implemented initial transformation.