Towns should not be surprised by lawsuit