adding in index