restructuring schema comparison