created and styled index