parsing for dam