removed extra newline from output