implemented branching into conversion