add intermediate code processing