add clean data cpp