splitting to new device header file