How do I add additional sensors?

I have 5 sensors. I do not understand what you mean? this is the original code I wrote

Yes, the problems with that code have already been pointed out.

Why no post the code (all of it) that casued the error messages you alluded to, and the error messages themselves?