Revert "Revert "SGS""

This reverts commit 8d6eea498d6bfe7a9b038d0927181b4d772988c1.
common