measurements now run the function 20,000 times