Make sure to pick if followed by current_distance and then >, best_distance, :.
if
current_distance
>
best_distance
: