allow NULL for registration