Added identity function and zero function