adjustments in check connection method