getting attacking working