add function

nholder, nswap, ntoggle,