changed name of device function