Commit before rewriting some functionality finding available table groups