function to get course description text