Add code for selecting course