divide pages: up
code cleanup