base for registeration