my last condition is not met and it is driving me mad