new pro config and c++ style