generalized transformation