new_and_delete replaces malloc_and_free