begin greedy opl