added newline to else 'print' statement