Text changes
Changed getConnection to write connection