I'm wondering if the problem is that the unlock on line 100 simply shouldn't exist.