grod: get rid of doublons. Toy python library