implemented default constructor for sns