update to formatting of output to console