testing with cpp program