Made bullet code better