simplify handling transformation array