make indices