changing _sst writing code