ah I was close! i thought stop was declared to false as it is a boolean, but no Thanks a lot for your help !