Welcome to the Forum! Please read this topic to learn how to post your code correctly along with other useful info for newcomers.

Code posted unformatted, "raw," as you've done will be largely...