added ArrayResizer and asyncRunAndResize method