removed variable x to a proper name "distance between orders"