config for device