add another optional argument, no more magic numbers for sleeps
make sure to accurately keep track of did_something