template renames
arrow generation of codearea and endstate blocks