have to commit before doing the 2nd query