created erb pages for each function and added them to menu