try to make a counter for number of collision