tryin to prevent duplicate repertoire