move to a better device model getter