Create dynamicprogramming