don't declare whole paths object, just the sonar detections