initial compare/diff functionality