Local implementation of sner