changed r in index