added sm-diff