retyped most sections I got help with