Added difference as aggregation function