master to stg