add registration check