Create compare wo ins proc