implemented iterators for device-chain