use c++11 initializer_list<>