implemented raw Connect method