Add code

Version with null error.