Theory and practice of gst