created a damage calculator