Add diff functionality