almost final version of bias-var