Intermediate level 2 code and level 3 partial code added