logging works a little better, as does system.out.println