sync text edits
reordered init code