added check closest predecessor!