diff improvements