# declare unchancheable variables as final

# fixed typo in mMinDistance variable name
# some formatting fixes