moving stuff to the correct pages