make getConnection public