Slight logic fail...