added stg prototype