updated comments
implemented unique and getUniquePath + tests