added border offsets