create html diff function added