added initchain to sx.