first draft of variance (wrong)