type transformation fo REP