move addHandlers