added getQuad