log works more reliably than System.out