wholeCourse retrieves values, displays incorrectly