after list.rev global vars, print statements everywhereeee