updating ObOr-Based Approach to code