add comment to explain this weirdness.