added strucutre for queries [skip ci]