added moving after attacking