getting rid of extra foundation index shenanigans