Adding distance to systems table