edits and some text expansion