Working version of quiz7