I had the logic reversed