added deviation to aggregate