add bw-transform code