Wrote state