change calling device.name method