list command allows variable # of pages