two-step registration