This version should be working fine. Can you see the changes I made to fix the problem in the code? There was just one mistake, really.