removed trailing new line in out().