Recreated for correct working of C++ project