remove newline at end of line here?