reorgianzation of compare proj