(thanks to grouchomac for the idea!)