add double-lor-res code