distance is workinggg