close query part 2