added encode before calling show_course

this likely completes the requirements