initial file for device code