add the init events