cleaned up print transform