learn variance from data rather than static 1s