registration db impl pt 1