better border setup