Time to invest amid stock market rout