added changes to the index page from class