Version 1: Main method and refactored method with Damage ID