VARIANCE IMPLEMENTED