river logic is done