actually init the handler