Why didn't I think of this before?