Ofcourse as there is no if sentences anywhere the successive lines could just use

<< ..
<< ..

instead of

c << ..