working on registry-stg