reservoir writing
fixed conflicts in reservoir file