folded if statement