rearranged system.out.print