Updated detecting collisions feature