added chain of responsibility sample