resource added: design pattern