Looks nicer in theory than it does with this code.