use for-each instead of Iterator.
print UART output on VirtualTerminal class.