small change in setsn
added links to functions