modify SING.Py