added protocol to device