moved qdb here because matt is lazy