refactored collision for bullets