Work for running distance test