refactored-markup of index vew