editor for sgm