add design pattern resource