improved the transformation uc a little bit