Just thought I'd mention to other looking at this functionality, that the following may help: