added merger and averager