Added clear before diff