problems with printing in system.out