output by state