adding support for stg