bricolage: optimized runtime by changing std::string to const char*