[mod]Package a new class and add output array param