optimize multiple executions and executeMany