c++ print tweak and sample 20 changed