disocovered a logical error