checking for damages