working versin of o.rbfi