Can exit with the red x
Removed a println updated the dist