working on captial delta and capital D computation. this commit is broken