putting some test cpp code