Diff/Get/Check/Set functions