added ranged attack command