more SDP handling functions