restyled with qa.state.copynx. And renamed useInput into map Input.