add registration stuffs