a better newqubo.c