integrating devices.h