correction in quiz2.R