updated sip with latest changes made by Geoff