complete the example of chain of responsibility pattern.