added the printing for displaying executing time