move many sip operations to preprocess