second attempt with index and css