working with three devices, supporting two changes of control