changing connection accept syntax