added RAI constructor