game common utilities, need c++11