add sm back
also libn