only putting one space after period for new line, and added comments