some border refinements