Check to see is dam in the ablative or genetive case. Dam is second declension neuter so you should be able to tell the difference.