logic fail.