Explain generation of S(Q,E)