Add note about duplicates
Add asserts
Remove checks