state is of type State