Changed to forEach loop
Changed to Date.now