developing delta calculation