add delta calculations