made deviceid property with its own setter