Adding chain of responsibility patter