language changes: into_owned() is deprecated; std::rand returns.