added state to config