Tag transformation by machine1