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