Perform actions multiple times