New index. Prettified code.