some refinement in the horn-clauses section