Finally found the variance bug