changes for registrate
changes for registrate