set up all three pages