edited process chain of responsibility to accept an Object parameter