added current courses to the functionality