removed redundant newline character from printout