query is preserved when it is executed