add cpp and log note