working for multiple subsystems, auto-generate multi ss, imporve debug info