prepare for S2S