added newline function for convenience