Added and modified the TYPE parameter while defining the device