arranged the index and created a css