adding total runtime logging