HW4 part1 added for index.html