eliminated old double type DP