finished query data structure, next time weights