add deferToArray and deferOne