example objectdiff function