replace this.state & this.props to setState