testing loops
calling the next function with specific arguments