Removed JOptionPane as we are returning results instead.