add destroy funciton to scs; new version of scg