rename device to devise