made border a config option