add sgc example and other minor updates