creation diff using lambda