with IF and BUT, you don't get far...