declaring new distance table