double for balldistance