index needs to be renamed too