add attacker_reciever functions to attacker, for refactor this part