docs for s2