adding more functionality to the reactor