Make diff an utils method