add slight dynamic titles in pages, and DRY code