std::list of user defined objects and a few time functions