add sm.
merge with no-ff