Maybe it is good to put the similar executions in a loop.