added multiple question logic check