working with token in extension
conditions
merge