Adding timing calculations