prints outs river and runs correctly