Edit some variables and add outline for new code design.