added std::list to sample