Posting just part of a sketch is almost always a waste of time
The easier you make it to read and copy your code the more likely it is that you will get help
Please follow the advice given in the link below when posting code , use code tags and post the code here to make it easier to read and copy for examination