Can this be determined more deterministically? Who knows what glitches might happen on lightning :-)