Rearranged in order not to measure the time for displaying.