changed argument type from * to &
removed timestamp helper in favor of std::chrono