better border drawing