This below seem unreachable to me, so I removed until line 84.