add pages/functions