finished unify