created state structure