changed index and css styling