Please check out this page for how to post code nicely on the forums
For the next reader(s)… my editor knowledge is near zero.