initial version of s-n-y