finished implementing pages