running the code a few times