Hello. Please take a moment to figure out how to post formatted code, otherwise it becomes difficult for people to review.
See here. Cheers.