laying out index