Added decorator and chain of responsibility patterns