improvement on the fire bullet code