added course frequency plot