Make the pageList a var, and put it before everything else since it's just an empty holder for stuff.