changed index.html according to ex 6