adding methods to processHandler