sip, small optimizations