had the conditional backwards...