functions now use newLine() instead of adding text themselves