Trying to get index to fit right