add loading in some Timetime-consuming function