changed emulator to write sequence by rows, generator - changed first element