added a few more pages, edited the code, removed unneccessary code