new functions & main pages
new functions & main pages