public void close(){
        try{
            // Clean-up environment
            if(result != null){ result.close(); }
            statement.close();
            connection.close();
        }catch(SQLException se){
            //Handle errors for JDBC
            se.printStackTrace();
        }
    }