checking diff for error introduced