@winner10920 your code is indented oddly and seems to imply flow that is not what will happen.
Use the IDE auto format tool, then look at your code and see if you need to sprinkle some braces on in there. Or if you need(ed) to indent the way it changes to.
Just sayin’.
a7