New version in LAMP, C++