Cleaned up code, fixed paragraphs