change the createConnection method in the main file