Any idea what might be invalid? I commented out one section that didn't look quite right, but the problem still exists.