add a label class; use c++11 syntax in example