Why didn't I think of this earlier.