index completed, bug to fix later tonight