chapter31 regularDP