Looks like ´undefined´ might also work here. So I don't see the need for those temporary variables here.