moved backtransform() to utils