Averaging plugin structure