messing around with c++