added dam and river model
bringing in working