I think this is right, but I keep getting a facepalm.