Adding variance as a parameter