[courses] add legend