About constructing that procedure: just at the very end the qring will be defined: should i make a whole function which returns the final qring?