i thought delete on nullpointers is ok, as delete checks for it on its own?