pretty printer- same stage