write pages and start layout
add legacy title