adding course id to the span of course