w[ric1[[Q,[B]]]