modified mother finding condition