add state, h1 and h2