made Smessage public