[P3]A little cleaner inheriting of borders.