add addHandler and rmHandler