add var and statements