chrono and stream examples