working on calculating dd options