Moving the printinfo to Algorithm..