messages should end with newlines