What Does a State Legislature Do?