Adding diff code.