Love this, all the way through I was thinking I was probably only doing it in one way and there was probably a way to do it in fewer words, but then the final reveal that this is a unique solution.