improved registration procedure