rename device -> interface