[wip] Detecting collisions