Why exactly do you think it’s not a good answer? Do you have some specific concerns? Answering yourself these questions can give you something concrete to focus on.
I think the way I came up with that solution shows I’m not that confident in my answer, though we all know there is no perfect answer or code. I feel it was not enough, or there is something wrong with it.
We have blurred this solution (with [spoiler][/spoiler] tags) so that users who have not completed this challenge can read the discussion in this thread without giving away the solution.