Working G version of registration