Degguging the code with system.out