add and remove pages working perfect