redesign transform_params