working front page
restored original functionality