added border lenght