debug collision detection, refactorings