Changed format

Introduced new code + means of inputting in distances to trigger