added c++11 syntax