logic failure in testing for arks