Framework for eq/cq