added ability to choose which target to attack