labeled borders implemented