trying new if structure with split path