Added diff functionality