Add basic duration calculator.