swap out chrono with simple ctime calls