working on the attack functionality, need maybe to find a simplified way of doing this for now