Added int x and System.out.println()