I'm also not sure that this logic is going to work with multiple devices...