added nicer formatting for print messages