updating the ChainOfResponsibility class so it wraps a list not an utterable