Thank You mksj,
That drawing certainly made it very clear to me, and I am not an electrician.
Thank God , I am using a reputable company, that mainly deals with residential.
The shed did not need a permit, but the electric work that was done did need a permit. I made a mistake, by letting the cheap price of the electric sub panel and a light and an outlet , given to me by the contractor, fool me into believing he knew the correct way to do it, according to "code".
So, we needed to upgrade anyway to 200 amps, and we needed to redo the wiring from entrance to main house and the sub panel in the shed, according to the current code, to be able to get the permit and pass inspection.
Now there is a nice new sevice and and two panels and a main became one large 200 amp panel(44) , I think, and another large panel(44).
First one is filled, and the secound one has about 8 slots.
They also put a grounding rod at each location.
The one lesson I did learn, when using a licensed electric company, is to ask if they will be doing a masonry repair, if necessary.
They removed the old service, and one of the bricks just fell apart, leaving a good size hole on both sides of the foundation. They refused to repair it, so I did it , and it came out decent.
But , would have been easier if they had masonry experience, and handled the repair as part of the job.
Thanks,
Raf