changed o to oId for r collection