added bullet firing function