begin structure with states