Now inserting nodes(states)