added parent index to state
added parent_level to state