Adding proper index and style