fixed errors and added pages