summary of basic DP