border implementation