add get course method