What's wrong with my example? I think it's showing off the power of the API and is a very useful use case.