still trying to fix index