index finished except search and a few tweaks