Implemented average and delta