explaining this nasty bit