add root section spec
add apply code