adwsystems:
You added a variable to the program without declaring it. I provided a code snippet to fix your problem. You need to provide the rest. If you want someone else to do all the work, that costs money.
I am sorry, but I am new to coding and arduino and I am unable to understand.
Thank you.