modify designpattern package