Errors with end_line and spaces fixed