Add code for getting name and credit hours