this file is the main index file of the code