adding course index