Added attack logic