fixed Oj method