Adding some code to my imaginary cpp