updated for page manipulations