Please add a comment that explains how collisions are handled.