in the following code, the only header that is getting included is D.. The header I would like to include though is static, so i would rather use one of the other approaches