Created child state constructor