added first draft of dynamic calculator