waits a different amount of time for each command