assume null references have already been deleted