added nicePrint