allow type casts ring -> qring