Added snw_send function
merge stuff