basic registro working