Modify this example to be able to execute several times in a row.