Some code for the River Hack