Changed to iterate 10000 times