added newline at end of terminal