stg validation