Adding rw api