null_func should be a method
Restored new_frame