Added check for loading correct answers; also separated out common code to reduce reuse