Added a new method to the MySQL class