dummy code model of the device