Added onComplete callbaack to log some timestamps