Done with section 2 until someone with better math comes along