had the logic backwards...