add closed words