first commit with function to show duration in the console