Initialized averager pointer in get function