Time function (30/41)

Time function