removed console.log for time