Lines 185-196 might be what's fucking us..