refactoring Qnil