Connect method