Debugging exercise