modify printInfo