Distance Changed to Arrays
Reformat