Dealing with multiple indexes