Add comment
Add duplication check
Detect collisions