s1 and s2 outputting properly