Sounds like he is feeding a manual transfer [sub-] panel with utility power through #8 off a 40A breaker in the main panel. That is correct sir.