Add internal class TimeElapsed to show how many time it takes to execute.