Bumping page size, moving some stuff to functions