added provider state to doco