cannot have refcounted objects on the stack