added structure for States