corrected diff behaviour