changed dbEntry private member to be ansCorrect instead of ans1