implement conncetion parser