added new system.out.println everywhere.