minor changes to add PAGE stuff