simplifying index