for C++ advent calendar 2014