Breaking in line 9 was actually out of main() context which might cause issues. Corrected to point to line 8