evaluating distance based on user selection