maybe use 'addCustomHandler' is better.