creating an enviroment where more pages can be added flexibly