Added average operator