close query
close query part 2