Adding up time to table.