cpp hdr to not expose private info