changed index stuff again