separating the conditions into sentinels