changed device type to config to text