removed legacy connection method