updates for deprecated OF functions