Solve orf problem